package com.yzc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzc.model.DTO.AttractionOrderDetail;
import com.yzc.model.entity.ticket_order.OrderAttraction;
import com.yzc.model.vo.ticket_order.v_AttractionOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TicketAttractionOrderMapper extends BaseMapper<OrderAttraction> {

    void createTicketOrder(@Param("attraction") AttractionOrderDetail attraction,@Param("orderId") long orderId);

    v_AttractionOrderVo selectUserInfoByorderId(Long orderId);
}
